package nml.mail.reg.await;

import nml.mail.reg.Reg;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class  hushmail_com extends Reg{

	public void reg(String username, String password) {		
		

		String url = "https://www.hushmail.com/signup/";
		get(url);
		
		dr.findElement(By.name("hush_username")).sendKeys(username);
		dr.findElement(By.name("hush_pass1")).sendKeys(password);
		dr.findElement(By.name("hush_pass2")).sendKeys(password);
		
		
		dr.findElement(By.name("hush_tos")).click();
		dr.findElement(By.name("hush_additional_tos")).click();
		
		
		dr.findElement(By.name("hush_turing_response")).click();
		
		
		System.out.println(username+"@hushmail.com");
	}

	public static void main(String[] args) {
		new hushmail_com().reg("qq331798654", "qq3131798654");
	}
	
	
}
